export interface GoodsData {
  id?: number;
  goodsname?: string;
  goodsprice?: string;
  goodsnum?: number;
  goodsimg?: string;
  goodsdesc?:string
}

export interface pageGationGoodsData extends GoodsData {
  page: number;
  pageSize: number;
}

export interface GoodsAddOrEditProps {
  visible: boolean;
  onClose: () => void;
  id?: number | null;
  onRefresh: () => void; // 新增的回调函数
}

